LISP - 維基百科,自由的百科全書 (atom x)當x是一個atom或者空的list時返回原子t,否則返回NIL。在Common Lisp中我們習慣用原子t表示真,而用空表 () ... 函数定义: (defun hello-world (format t "hello, world!")) 调用函数: (hello-world);; 在屏幕中打印出: hello, world!
A Few FORMAT Recipes - gigamonkeys Common Lisp's FORMAT function is--along with the extended LOOP macro--one of the two Common Lisp features that inspires a strong emotional response in a ...
Format (Common Lisp) - Wikipedia, the free encyclopedia Format is a function in Common Lisp that can produce formatted text and is normally used in a manner analogous to printf in C and other curly bracket ...
CLHS: Section 22.3 - LispWorks format is useful for producing nicely formatted text, producing good-looking messages, and so on. format can generate and return a string or output to destination ...
CLHS: Function FORMAT - LispWorks format destination control-string &rest args => result ... format produces formatted output by outputting the characters of control-string and observing that a tilde ...
22.3.3. Formatted Output to Character Streams Formatted output is performed not only by the format function itself but by certain other functions .... In Common Lisp the directive ~@T is used for that purpose.
Kawa: Formatted Output (Common-Lisp-style) - Gnu An almost complete implementation of Common LISP format description according to the CL reference book Common LISP from Guy L. Steele, Digital Press.
Successful Lisp - Chapter 24 But Lisp's FORMAT implements a programming language in its own right, .... The most common is the field-width specifier, which behaves as it does in the ~D ...
Simplified Common Lisp reference - format FORMAT function does a complex text formatting. Formatting rules are driven by control-string and arguments in arg. When destination is stream or string with ...